package com.qike.duola.mapper;

import com.qike.duola.domain.DuolaApprovalSubject;
import com.qike.duola.domain.DuolaApprovalSubjectExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DuolaApprovalSubjectMapper {
    long countByExample(DuolaApprovalSubjectExample example);

    int deleteByExample(DuolaApprovalSubjectExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DuolaApprovalSubject record);

    int insertSelective(DuolaApprovalSubject record);

    List<DuolaApprovalSubject> selectByExample(DuolaApprovalSubjectExample example);

    DuolaApprovalSubject selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DuolaApprovalSubject record, @Param("example") DuolaApprovalSubjectExample example);

    int updateByExample(@Param("record") DuolaApprovalSubject record, @Param("example") DuolaApprovalSubjectExample example);

    int updateByPrimaryKeySelective(DuolaApprovalSubject record);

    int updateByPrimaryKey(DuolaApprovalSubject record);
}